<?php
require_once 'Zend/Application.php';  
chdir(dirname(__FILE__).'/application');

$application = new Zend_Application(
	preg_replace('/[:\d]*$/', '', $_SERVER['HTTP_HOST']),
	'configs/application.ini'
);
$application->bootstrap()->run();